FROM 43.156.246.219:5000/jdk:17.0.6
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 TZ=Asia/Shanghai
VOLUME /home/java/poi
RUN mkdir /opt/poi
ADD PoiSearchService-1.0.jar /opt/poi/app.jar
RUN chmod -R 777 /opt/poi/app.jar
ENTRYPOINT ["java", "-jar", "/opt/poi/app.jar", "--spring.profiles.active=prod","env=prod"]
EXPOSE 23611
